'''
文档注释集合
'''

str ='''
    大家好，
    我是xxx
    我今年xxx
'''

print("str: ",str)


# 集合
# s1 = {key:value } 字典
s1 = {18,18,20,15,20,19}
print("s1: ",s1)


list1 = [18,20,21,35,46,19,20,18]
# 去重复
print("set(list): ",set(list1))
print("list(set(list1)",list(set(list1)))
list2 = list(set(list1));
print("list2",list2)
list2.sort()
print("list2",list2)


print("==========================add============================")
s2 = {10,20}
print("s2: ",s2)
s2.add(30);
print("s2: ",s2)


ss1 = {10,20,30,40}
ss2 = {30,40,50,60}
print("==========================update============================")
print("ss1 : ",ss1)
print("ss2 : ",ss2)
ss1.update(ss2)
print("ss1 : ",ss1)
print("ss2 : ",ss2)





